import request from '@/utils/request'

// 用户登录接口
export const login = data => {
  return request({
    method: 'POST',
    url: '/user/getAdminToken',
    data
  })
}

// 用户基本信息接口
export const getUserInfo = () => {
  return request({
    method: 'GET',
    url: '/user/getAdminInfo'
  })
}

